#include "Header.h"
#include "Notify.h"
#include "Clean.h"


NTSTATUS DriverEntry(PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegPath)
{
    UNREFERENCED_PARAMETER(RegPath);

    NTSTATUS ntStatus;
    PKLDR_DATA_TABLE_ENTRY Ldr = (PKLDR_DATA_TABLE_ENTRY)DriverObject->DriverSection;

    Ldr->Flags |= 0x20;

    DriverObject->DriverUnload = DriverUnload;
    g_pDriverObject = DriverObject;

    ntStatus = SetUpNotifyRoutines();

    return ntStatus;
}